﻿using System;

namespace GetuiServerApiSDK.payload
{
	// Token: 0x02000002 RID: 2
	public class MultiMedia
	{
		// Token: 0x17000001 RID: 1
		// (get) Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250
		// (set) Token: 0x06000002 RID: 2 RVA: 0x00002058 File Offset: 0x00000258
		public string rid
		{
			get
			{
				return this.resId;
			}
			set
			{
				this.resId = value;
			}
		}

		// Token: 0x17000002 RID: 2
		// (get) Token: 0x06000003 RID: 3 RVA: 0x00002061 File Offset: 0x00000261
		// (set) Token: 0x06000004 RID: 4 RVA: 0x00002069 File Offset: 0x00000269
		public string url
		{
			get
			{
				return this.resUrl;
			}
			set
			{
				this.resUrl = value;
			}
		}

		// Token: 0x17000003 RID: 3
		// (get) Token: 0x06000005 RID: 5 RVA: 0x00002072 File Offset: 0x00000272
		public int onlywifi
		{
			get
			{
				return this.isOnlyWifi;
			}
		}

		// Token: 0x06000006 RID: 6 RVA: 0x0000207A File Offset: 0x0000027A
		public void setIsOnlyWifi(bool value)
		{
			this.isOnlyWifi = (value ? 1 : 0);
		}

		// Token: 0x17000004 RID: 4
		// (get) Token: 0x06000007 RID: 7 RVA: 0x00002089 File Offset: 0x00000289
		// (set) Token: 0x06000008 RID: 8 RVA: 0x00002091 File Offset: 0x00000291
		public MultiMedia.MediaType type
		{
			get
			{
				return this.resType;
			}
			set
			{
				this.resType = value;
			}
		}

		// Token: 0x04000001 RID: 1
		private string resId;

		// Token: 0x04000002 RID: 2
		private string resUrl;

		// Token: 0x04000003 RID: 3
		private MultiMedia.MediaType resType;

		// Token: 0x04000004 RID: 4
		private int isOnlyWifi;

		// Token: 0x0200004D RID: 77
		public enum MediaType
		{
			// Token: 0x04000337 RID: 823
			pic = 1,
			// Token: 0x04000338 RID: 824
			audio,
			// Token: 0x04000339 RID: 825
			video
		}
	}
}
